﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Knjiga
{
    public class MojaKlasa
    {
        private Hashtable m_col;
        private Hashtable m_colSync;
        public MojaKlasa()
        {
            m_col = new Hashtable();
            m_colSync = Hashtable.Synchronized(m_col);
        }
        public void DodajStavku(String Ime, String Vrednost)
        {
            m_colSync[Ime] = Vrednost;
        }
        public String DajStavku(String Ime)
        {
            return (String)m_colSync[Ime];
        }
    }
}